package com.fang.common.common;

import lombok.Data;

import java.util.List;

/**
 * @author Bernie_fang
 * @Description:
 * @create 2024/10/2 21:56
 **/
@Data
public class CommonPage<T> {

    private long curPage;
    private long total;
    private List<T> dataList;

    public CommonPage() {
    }

    public CommonPage(long curPage, long total, List<T> dataList) {
        this.curPage = curPage;
        this.total = total;
        this.dataList = dataList;
    }
}
